﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace Common.Mail
{
    public class AdminSettingsHelper
    {
        public static AdminSettings GetAdminSettings()
        {
            return new AdminSettings
            {
                EmailAddress = ConfigurationManager.AppSettings["AdminEmailAddress"],
                SendCopyToAdmin = Convert.ToBoolean(ConfigurationManager.AppSettings["SendCopyToAdmin"])
            };
        }
    }
}
